package com.spa.application.command.massagist;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

@Data
public class WithdrawApplyCommand {

    @NotBlank(message = "技师名称不能为空！")
    private String massagistName;

    @NotBlank(message = "真实姓名不能为空！")
    private String realName;

    @NotBlank(message = "银行卡号不能为空！")
    @Size(min = 10, max = 20, message = "请填写正确的银行卡号")
    private String bankNo;

    @NotNull(message = "提现金额不能为空！")
    private Integer amount;

}
